import java.util.Scanner;
public class GuessNumber {
    public static void main(String [] args) {
        int answer = (int)(Math.random()*100 + 1);
        System.out.println("欢迎来到猜数字！");
        // 创建⼀个Scanner实例，从标准输⼊System.in扫描读取数据
        Scanner scan = new Scanner(System.in);
        System.out.println("请猜⼀个1-100之间的整数：");
        // 读取⼀个整数保存到变量guess中
        int guess = scan.nextInt();
        System.out.println(guess);

    }
}
